package vip.meeet.spring.util;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import vip.meeet.config.ScanConfig;
import vip.meeet.event.LoginLogic;


public class AnnotationStart {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ScanConfig.class);
//        ApplicationHolder.printBeanNames();
        context.getBean(LoginLogic.class).login();
        context.close();
    }
}
